Browse an entire list of code examples for you to copy.
To add your own Snippet, make a Pull Request here.
Learn how to burn an NFT in Cadence using the example Avataaars contract.
Learn how to create an account directly in Cadence.
Learn how to deploy a smart contract directly in Cadence.
Learn how to mint an NFT in Cadence using the example Avataaars contract.
Learn how to redeem a child account for account linking.
Learn how to redeem a child account for account linking.
Learn how to remove a child account for account linking.
Learn how to remove a parent account for account linking.
Learn how to set up a child account for account linking.
Learn how to get and calculate time in Cadence.
Learn how to transfer an NFT in Cadence using the example Avataaars contract.
Learn how to import a Cadence contract at run-time in a script or transaction.
Learn how to verify a users authentication using FCL on testnet and mainnet.
Learn how to log in, log out, and access user data using only Dapper Wallet.
Learn how to log in, log out, and access user data.
Learn how to take a public key and create an account with it using FCL.
Learn how to execute a basic transaction with FCL using a custodial wallet (Blocto, Lilico, etc).
Learn how to execute a basic transaction with FCL using a non-custodial wallet (aka with a private key).
Learn how to pass a dictionary argument to a Cadence script or transaction in FCL.
Learn how to pass a struct argument to a Cadence script or transaction in FCL.
Learn how to execute a basic script using FCL.
Sign a user message with FCL on the frontend.
Learn how to setup cadence using Flow Unity SDK.
Learn how to execute scripts using Flow Unity SDK.
Learn how to setup and authenticate using Flow Unity SDK.
Learn how to send transactions using Flow Unity SDK.
Poll for events happening on chain using FCL.
Get all the moments a user has on NBATopShot.
A FungibleToken Contract that creates an initial supply when it is deployed.
Sign a user message with FCL and verify it on chain in Cadence.