Skip to content

Mocked website to test the lucid-cardano based library for claiming vested tokens.

Notifications You must be signed in to change notification settings

smart-chain-fr/cardano-vesting-lib-integration-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vesting-lib-integration-mock

Mocked website to test the cardano-simple-script-vesting library for claiming vested tokens with a Nami wallet.

Step 1: Generate simple script and address

You can do it using cardano-cli (cf. tuto).

Step 2: Lock funds

Send funds to the generated address(es).

Note: You can get testnet ADA from the faucet.

Step 3: Edit index file

Edit the toClaim object in the index.ts file replacing address, ̀requireTimeAfterSlot, requireSignature, currencySymbol and tokenName by the values corresponding to the ones you have set in the previous steps.

Step 4: Get Blockfrost API key

Create a Blockfrost account and create a "project" on a Testnet. Rename the config_example.ts file: mv config_example.ts config.ts Replace the network and API key in the config.ts file.

Step 5: Launch the mock

npm install npm run start

Step 6: Claim funds

Go to http://localhost:8080 and claim funds.

About

Mocked website to test the lucid-cardano based library for claiming vested tokens.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published