Skip to content

elementlabs42/BitVM-scs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitVM Bridge

Build

forge build

Run Test

forge test -vv

Test with given transaction ids

node script/fetchTestDataPegIn.mjs <provider> <depositTxId> <confirmTxId>
node script/fetchTestDataPegOut.mjs <provider> <txId>
forge test -vv --match-test testPegIn_pegIn_file
forge test -vv --match-test testPegOut_pegOut_file

Test with Anvil

Start anvil, then run script with sig arg as: 'runTestnet', 'pegOut', 'burnEBTC'

anvil -f https://mainnet.infura.io/v3/<API_KEY> --fork-block-number <BLOCK_NUM>

source .env
forge script script/Test.s.sol:End2End --slow --sig "<FUNCTION_NAME>" --broadcast --rpc-url ${RPC_URL_ANVIL}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors