Skip to content

brahmapsen/data-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STARKNET

Prerequisites

Compile and Deploy

  1. Compile the contract
nile compile
  1. Deploy the contract
export STARKNET_NETWORK=alpha-goerli
starknet deploy --contract artifacts/StakeL2.json --no_wallet
Contract address: 0x04af2d5488fbf9de5b9dfaf8a6b720e22ccfae33f94c0cc42f095569cd921756
Transaction hash: 0x726020ef93751569c72f991f613ae76221bd20546b3eba81b57751e8fbd4473

Finish the setup for this contract

  1. Deploy L1 contract before doing the next step here (Follow README file inside L1 folder)

  2. Install Argent/Braavos wallet for Starknet in your browser

  3. Go to Voyager and search for the contract address you got in step 2.

  4. Inside 'Write Contract' tab, take 'set_stake_l1_address' function.

  5. Provide Stake contract address (L1) and transact. Now the L1 address is saved in L2 contract.

Starknet Documentation

Read more about Starknet here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published