Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 567 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 567 Bytes

Shuttle Ethereum Contracts

Setup Env

$ cp ./.env_example ./.env

How to deploy

$ npm install truffle -g
$ npm install

# Deploy contracts
$ truffle migrate --network ropsten

How to interact

$ truffle console --network ropsten

# In truffle console
>> const wLuna = await WrappedLuna.deployed();
>> wLuna.mint('0xabed2612bdd59218e72edda5cc69ddc429937407', '10000000000000000000000')
>> wLuna.balanceOf('0xabed2612bdd59218e72edda5cc69ddc429937407')
>> wLuna.burn('1000000000000000000', '0x59ea5499dec9e792469b36777ade3d267b5127de')