open-index/open-npm huggingface dataset:
npm package: @onflow/six-stakingcollection-create-machine-account
Description: Flow SDK Stored Interaction - Create a Machine Account for node held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-create-machine-account

Stored Interaction for Creating a Machine Account for node held in Staking Collection

# Status

- **Last Updated:** June 30 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-create-machine-account

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as createMachineAccount } from "@onflow/six-stakingcollection-create-machine-account"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    createMachineAccount({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123"             
        publicKeys: [],                                    
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-register-delegator
Description: Flow SDK Stored Interaction - Registers a Delegator held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-register-delegator

Stored Interaction for registering a delegator held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-register-delegator

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as registerDelegator } from "@onflow/six-stakingcollection-register-delegator"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    registerDelegator({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123"             
        amount: "100.0",                                    
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-register-node
Description: Flow SDK Stored Interaction - Registers a Node held in Staking Collection
Author: Dapper Labs
Latest version: 0.3.2

# @onflow/six-stakingcollection-register-node

Stored Interaction for registering a node held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-register-node

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as registerNode } from "@onflow/six-stakingcollection-register-node"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    registerNode({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeID: "1",
        nodeRole: 1,
        networkingAddress: "abc123",
        networkingKey: "abc123",
        stakingKey: "abc123",                                        
        amount: "123.456",
        publicKeys: ["abc123"]                                        
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-register-node-with-pop
Description: Flow SDK Stored Interaction - Registers a Node held in Staking Collection with proof of possession
Author: Dapper Labs
Latest version: 0.3.1

# @onflow/six-stakingcollection-register-node

Stored Interaction for registering a node held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-register-node

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as registerNode } from "@onflow/six-stakingcollection-register-node"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    registerNode({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeID: "1",
        nodeRole: 1,
        networkingAddress: "abc123",
        networkingKey: "abc123",
        stakingKey: "abc123",                                        
        amount: "123.456",
        publicKeys: ["abc123"]                                        
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-request-unstaking
Description: Flow SDK Stored Interaction - Request unstaking for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-request-unstaking

Stored Interaction for requesting unstaking for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-request-unstaking

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as requestUnstaking } from "@onflow/six-stakingcollection-request-unstaking"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    requestUnstaking({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-setup-staking-collection
Description: Flow SDK Stored Interaction - Setup a Staking Collection for an account.
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-setup-staking-collection

Stored Interaction for setting up a Staking Collection for an account.

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-setup-staking-collection

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xFUNGIBLETOKENADDRESS      | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |
| 0xFLOWTOKENADDRESS          | 0x1654653399040a61 | 0x7e60df042a9c0868 |
| 0xIDENTITYTABLEADDRESS      | 0x8624b52f9ddcd04a | 0x9eca2b38b18b5dfe |
| 0xLOCKEDTOKENADDRESS        | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENADDRESS", "0xf233dcee88fe0abe")
  .put("0xFLOWTOKENADDRESS", "0x1654653399040a61")
  .put("0xIDENTITYTABLEADDRESS", "0x8624b52f9ddcd04a")
  .put("0xLOCKEDTOKENADDRESS", "0x8d0e87b65159ae63")
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENADDRESS", "0x9a0766d93b6608b7")
  .put("0xFLOWTOKENADDRESS", "0x7e60df042a9c0868")
  .put("0xIDENTITYTABLEADDRESS", "0x9eca2b38b18b5dfe")
  .put("0xLOCKEDTOKENADDRESS", "0x95e019a17d0e23d7")
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as setupStakingCollection } from "@onflow/six-stakingcollection-setup-staking-collection"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    setupStakingCollection({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,                           
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-stake-new-tokens
Description: Flow SDK Stored Interaction - Stakes new tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-stake-new-tokens

Stored Interaction for staking new tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-stake-new-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as stakeNewTokens } from "@onflow/six-stakingcollection-stake-new-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    stakeNewTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-stake-rewarded-tokens
Description: Flow SDK Stored Interaction - Stakes rewarded tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.3.1

# @onflow/six-stakingcollection-stake-rewarded-tokens

Stored Interaction for staking rewarded tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-stake-rewarded-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as stakeRewardedTokens } from "@onflow/six-stakingcollection-stake-rewarded-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    stakeRewardedTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-stake-unstaked-tokens
Description: Flow SDK Stored Interaction - Stakes unstaked tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-stake-unstaked-tokens

Stored Interaction for staking unstaked tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-stake-unstaked-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as stakeUnstakedTokens } from "@onflow/six-stakingcollection-stake-unstaked-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    stakeUnstakedTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-transfer-delegator
Description: Flow SDK Stored Interaction - Transfers a delegator from one Staking Collection to another.
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-transfer-delegator

Stored Interaction for transfering a delegator from one StakingCollection to another.

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-transfer-delegator

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferDelegator } from "@onflow/six-stakingcollection-transfer-delegator"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    transferDelegator({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",
        delegatorId: "456def",            
        to: "0xABC123"                             
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-transfer-node
Description: Flow SDK Stored Interaction - Transfers a node from one Staking Collection to another
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-transfer-node

Stored Interaction for transferring a node from one Staking Collection to another.

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-transfer-node

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferNode } from "@onflow/six-stakingcollection-transfer-node"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    transferNode({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        to: "0xABC123"                             
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-unstake-all
Description: Flow SDK Stored Interaction - Unstakes all tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-unstake-all

Stored Interaction for unstaking all tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-unstake-all

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as unstakeAll } from "@onflow/six-stakingcollection-unstake-all"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    unstakeAll({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null                             
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-update-networking-address
Description: Flow SDK Stored Interaction - Updates a networking address for a node held in a Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-update-networking-address

Stored Interaction for updating a networking address for a node held in a Staking Collection

# Status

- **Last Updated:** August 5th 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-update-networking-address

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as updateNetworkingAddress } from "@onflow/six-stakingcollection-update-networking-address"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    updateNetworkingAddress({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        newAddress: "new-networking-address"                             
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-withdraw-from-machine-account
Description: Flow SDK Stored Interaction - Withdraws FLOW from a machine account
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-withdraw-from-machine-account

Stored Interaction for withdrawing FLOW from a machine account.

# Status

- **Last Updated:** April 14 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-withdraw-from-machine-account

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as withdrawFromMachineAccounnt } from "@onflow/six-stakingcollection-withdraw-from-machine-account"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    withdrawFromMachineAccounnt({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123"             
        amount: "123.456",                                    
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-withdraw-rewarded-tokens
Description: Flow SDK Stored Interaction - Withdraws rewarded tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-stakingcollection-withdraw-rewarded-tokens

Stored Interaction for withdrawing rewarded tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-withdraw-rewarded-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as withdrawRewardedTokens } from "@onflow/six-stakingcollection-withdraw-rewarded-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    withdrawRewardedTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-stakingcollection-withdraw-unstaked-tokens
Description: Flow SDK Stored Interaction - Withdraws unstaked tokens for a stake held in Staking Collection
Author: Dapper Labs
Latest version: 0.3.0

# @onflow/six-stakingcollection-withdraw-unstaked-tokens

Stored Interaction for withdrawing unstaked tokens for a stake held in a StakingCollection

# Status

- **Last Updated:** June 21 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-stakingcollection-withdraw-unstaked-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                | Mainnet            | Testnet            |
| --------------------------- | ------------------ | ------------------ |
| 0xSTAKINGCOLLECTIONADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGCOLLECTIONADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as withdrawUnstakedTokens } from "@onflow/six-stakingcollection-withdraw-unstaked-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    withdrawUnstakedTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,
        nodeId: "abc123",            
        delegatorId: null,    
        amount: "123.456"                                
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-topshot-setup-collection
Description: Flow SDK Stored Interaction - TopShot Setup Collection
Author: Dapper Labs
Latest version: 0.0.4

# @onflow/six-topshot-setup-collection

Stored Interaction for setting up an account with an NBA TopShot collection.

# Status

- **Last Updated:** Sept 22 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-topshot-setup-collection

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies          | Mainnet            | Testnet            |
| --------------------- | ------------------ | ------------------ |
| 0xTOPSHOT             | 0x0b2a3299cc857e29 | 0x877931736ee77cff |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xTOPSHOT", "0x0b2a3299cc857e29")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xTOPSHOT", "0x877931736ee77cff")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as topshotSetupCollection } from "@onflow/six-topshot-setup-collection"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
  topshotSetupCollection({
    proposer: fcl.currentUser().authorization,
    authorization: fcl.currentUser().authorization,     
    payer: fcl.currentUser().authorization,             
  })
])

```

# Hashing

Hashing Code:
```javascript
  console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-topshot-transfer-moment
Description: Flow SDK Stored Interaction - TopShot Transfer Moment
Author: Dapper Labs
Latest version: 0.0.4

# @onflow/six-topshot-setup-collection

Stored Interaction for setting up an account with an NBA TopShot collection.

# Status

- **Last Updated:** Sept 22 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-topshot-setup-collection

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies          | Mainnet            | Testnet            |
| --------------------- | ------------------ | ------------------ |
| 0xTOPSHOT             | 0x0b2a3299cc857e29 | 0x877931736ee77cff |
| 0xNONFUNGIBLETOKEN    | 0x1d7e57aa55817448 | 0x631e88ae7f1d7c20 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xTOPSHOT", "0x0b2a3299cc857e29")
  .put("0xNONFUNGIBLETOKEN", "0x1d7e57aa55817448")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xTOPSHOT", "0x877931736ee77cff")
  .put("0xNONFUNGIBLETOKEN", "0x631e88ae7f1d7c20")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as topshotTransferMoment } from "@onflow/six-topshot-transfer-moment"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
  topshotTransferMoment({
    proposer: fcl.currentUser().authorization,
    authorization: fcl.currentUser().authorization,     
    payer: fcl.currentUser().authorization,
    recipient: "0xABC123DEF456",  // Address of the account to transfer the moment to
    withdrawID: "123"             // ID of the moment to transfer
  })
])

```

# Hashing

Hashing Code:
```javascript
  console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-transfer-nft-with-address
Description: Flow SDK Stored Interaction - Transfer NFT Moment
Author: Dapper Labs
Latest version: 0.2.2

# @onflow/six-transfer-nft-with-address

Stored Interaction for setting up an account with an NBA TopShot collection.

# Status

- **Last Updated:** Apr 9 2024 
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-transfer-nft-with-address

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                       | Mainnet            | Testnet            |
| ---------------------------------- | ------------------ | ------------------ |
| 0xNONFUNGIBLETOKENMETADATAVIEWS    | 0x1d7e57aa55817448 | 0x631e88ae7f1d7c20 |
| 0xNONFUNGIBLETOKEN                 | 0x1d7e57aa55817448 | 0x631e88ae7f1d7c20 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xNONFUNGIBLETOKENMETADATAVIEWS", "0x1d7e57aa55817448")
  .put("0xNONFUNGIBLETOKEN", "0x1d7e57aa55817448")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xNONFUNGIBLETOKENMETADATAVIEWS", "0x631e88ae7f1d7c20")
  .put("0xNONFUNGIBLETOKEN", "0x631e88ae7f1d7c20")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferNft } from "@onflow/six-transfer-nft-with-address

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
  transferNft({
    proposer: fcl.currentUser().authorization,
    authorization: fcl.currentUser().authorization,     
    payer: fcl.currentUser().authorization,
    contractAddress: "0xABC123DEF456",  // Address of the account to transfer the moment to
    contractName: "nft collection name" // collection name
  })
])

```

# Hashing

Hashing Code:
```javascript
  console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-transfer-nft-with-paths
Description: Flow SDK Stored Interaction - TopShot Transfer Moment
Author: Dapper Labs
Latest version: 0.2.1

# @onflow/six-transfer-nft-with-paths

Stored Interaction for setting up an account with an NBA TopShot collection.

# Status

- **Last Updated:** Apr 9 2024 
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-transfer-nft-with-paths

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                       | Mainnet            | Testnet            |
| ---------------------------------- | ------------------ | ------------------ |
| 0xNONFUNGIBLETOKENMETADATAVIEWS    | 0x1d7e57aa55817448 | 0x631e88ae7f1d7c20 |
| 0xNONFUNGIBLETOKEN                 | 0x1d7e57aa55817448 | 0x631e88ae7f1d7c20 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xNONFUNGIBLETOKENMETADATAVIEWS", "0x1d7e57aa55817448")
  .put("0xNONFUNGIBLETOKEN", "0x1d7e57aa55817448")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xNONFUNGIBLETOKENMETADATAVIEWS", "0x631e88ae7f1d7c20")
  .put("0xNONFUNGIBLETOKEN", "0x631e88ae7f1d7c20")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferNft } from "@onflow/six-transfer-nft-with-paths

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
  transferNft({
    proposer: fcl.currentUser().authorization,
    authorization: fcl.currentUser().authorization,     
    payer: fcl.currentUser().authorization,
    senderPathIdentifier: "path/identifier",  
    receiverPathIdentifier: "path/identifier"
  })
])

```

# Hashing

Hashing Code:
```javascript
  console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-transfer-tokens
Description: Flow SDK Stored Interaction - Transfer Tokens
Author: Dapper Labs
Latest version: 0.0.12

# @onflow/six-transfer-tokens

Stored Interaction for tranfering tokens between accounts on Flow.

# Status

- **Last Updated:** April 28 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-transfer-tokens

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies           | Mainnet            | Testnet            |
| ---------------------- | ------------------ | ------------------ |
| 0xFUNGIBLETOKENADDRESS | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENADDRESS", "0xf233dcee88fe0abe")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENADDRESS", "0x9a0766d93b6608b7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferTokens } from "@onflow/six-transfer-tokens"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    transferTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,             
        amount: "123.456",                                    // Amount as a String representing a Cadence UFix64
        to: "0xABC123DEF456"                                  // The Address of the Account to transfer tokens to.
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-transfer-tokens-with-address
Description: Flow SDK Stored Interaction - Transfer Tokens with address
Author: Dapper Labs
Latest version: 0.2.3

# @onflow/six-transfer-tokens-with-address

Stored Interaction for transfering tokens between accounts on Flow.

# Status

- **Last Updated:** April 9 2024
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-transfer-tokens-with-address

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                 | Mainnet            | Testnet            |
| ---------------------------- | ------------------ | ------------------ |
| 0xFUNGIBLETOKENADDRESS       | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |
| 0xFUNGIBLETOKENMETADATAVIEWS | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENMETADATAVIEWS", "0xf233dcee88fe0abe")
  .put("0xFUNGIBLETOKENADDRESS", "0xf233dcee88fe0abe")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENMETADATAVIEWS", "0x9a0766d93b6608b7")
  .put("0xFUNGIBLETOKENADDRESS", "0x9a0766d93b6608b7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferTokens } from "@onflow/six-transfer-tokens-with-address"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    transferTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,             
        amount: "123.456",                                    // Amount as a String representing a Cadence UFix64
        to: "0xABC123DEF456",                                  // The Address of the Account to transfer tokens to.
        contractAddress: "0x1234567890ab",                     // Contract address of fungible token
        contractName: "MyContractName"                         // Contract name of fungible token
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-transfer-tokens-with-paths
Description: Flow SDK Stored Interaction - Transfer Tokens with paths
Author: Dapper Labs
Latest version: 0.2.1

# @onflow/six-transfer-tokens-with-paths

Stored Interaction for transferring tokens between accounts on Flow.

# Status

- **Last Updated:** April 9 2024
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-transfer-tokens-with-paths

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies                 | Mainnet            | Testnet            |
| ---------------------------- | ------------------ | ------------------ |
| 0xFUNGIBLETOKENADDRESS       | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |
| 0xFUNGIBLETOKENMETADATAVIEWS | 0xf233dcee88fe0abe | 0x9a0766d93b6608b7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENMETADATAVIEWS", "0xf233dcee88fe0abe")
  .put("0xFUNGIBLETOKENADDRESS", "0xf233dcee88fe0abe")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xFUNGIBLETOKENMETADATAVIEWS", "0x9a0766d93b6608b7")
  .put("0xFUNGIBLETOKENADDRESS", "0x9a0766d93b6608b7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as transferTokens } from "@onflow/six-transfer-tokens-with-paths"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    transferTokens({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,             
        amount: "123.456",                                    // Amount as a String representing a Cadence UFix64
        to: "0xABC123DEF456"                                  // The Address of the Account to transfer tokens to.
        senderPathIdentifier: "path/to/vault",                // The storage path to the fungible token vault
        receiverPathIdentifier: "path/to/vault",              // The storage path to destination account's fungible token vault
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```
npm package: @onflow/six-unstake-all-flow
Description: Flow SDK Stored Interaction - Unstake All Flow
Author: Dapper Labs
Latest version: 0.0.10

# @onflow/six-unstake-all-flow

Stored Interaction for Unstaking All Flow.

# Status

- **Last Updated:** April 28 2021
- **Stable:** No
- **Risk of Breaking Change:** Very High

Known Upcoming Changes:

- Potential changes to all aspects of Stored Interactions

# Install

npm install @onflow/six-unstake-all-flow

# Configuration 

To use this Stored Interaction, you must configure FCL with certain account addresses which contain contracts imported by this Stored Interaction.

| Dependencies          | Mainnet            | Testnet            |
| --------------------- | ------------------ | ------------------ |
| 0xSTAKINGPROXYADDRESS | 0x62430cf28c26d095 | 0x7aad92e5a0715d21 |
| 0xLOCKEDTOKENADDRESS  | 0x8d0e87b65159ae63 | 0x95e019a17d0e23d7 |

Example (for mainnet):

```javascript
fcl.config()
  .put("0xSTAKINGPROXYADDRESS", "0x62430cf28c26d095")
  .put("0xLOCKEDTOKENADDRESS", "0x8d0e87b65159ae63")
```

Example (for testnet):

```javascript
fcl.config()
  .put("0xSTAKINGPROXYADDRESS", "0x7aad92e5a0715d21")
  .put("0xLOCKEDTOKENADDRESS", "0x95e019a17d0e23d7")
```

# Usage:

```javascript
import * as fcl from "@onflow/fcl"
import { template as unstakeAllFlow } from "@onflow/six-unstake-all-flow"

fcl.config().put("accessNode", "http://localhost:8080");

const response = await fcl.send([
    unstakeAllFlow({
        proposer: fcl.currentUser().authorization,
        authorization: fcl.currentUser().authorization,     
        payer: fcl.currentUser().authorization,             
    })
])

```

# Hashing

Hashing Code:
```javascript
    console.log(crypto.createHash('sha256').update(CODE, 'utf8').digest('hex'))
```