Skip to content

Elements-Studio/bifrost-ethereum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starcoin Bifrost Contracts

Starcoin cross-chain bridge Ethereum implementation.

install @openzeppelin/contracts

npm install

Default Account

For development network:

Truffle will use truffle-generated accounts in this private network.

For other networks:

The default development requires a .private_key file in the root directory, truffle will use it as the default account[0] account.

compile

truffle compile

deploy

truffle migrate

depoly on Ropsten network

truffle migrate --network eth_ropsten_bifrost

test

truffle test
truffle test tests/stc_test.json 

ABI

truffle compile后,在build/contracts/*.json中,有abi和bytecode等字段。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published