Skip to content

Add BinanceTestNet Configuration#30

Closed
aadorian wants to merge 7 commits intosmartcontractkit:masterfrom
aadorian:master
Closed

Add BinanceTestNet Configuration#30
aadorian wants to merge 7 commits intosmartcontractkit:masterfrom
aadorian:master

Conversation

@aadorian
Copy link
Copy Markdown
Contributor

Add Binance TestNet Configuration and dotenv
Screen Shot 2020-12-26 at 11 17 59 PM
Screen Shot 2020-12-26 at 11 14 40 PM

Comment thread scripts/fund-contract.js
Comment on lines +15 to +16
const mc = '0x162f637509672A6bD993D63c1a21F8d310971505' // your address
const tokenAddress = '0x761429d8887600dacE56BfA13651C018C1F0C538' //address of the deploy MyContract
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having to change a deployment script's source is not user friendly. Can we make these environment variables instead that also take into consideration the deployed contract?

Comment thread scripts/fund-contract.js
*/

const payment = process.env.TRUFFLE_CL_BOX_PAYMENT || '1000000000000000000'
//const payment = process.env.TRUFFLE_CL_BOX_PAYMENT || '1000000000000000000'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't comment out code.

@se3000
Copy link
Copy Markdown
Contributor

se3000 commented Feb 4, 2021

@aadorian it looks like you resolved the comments but didn't push the fixes. Mind pushing those?

@aadorian
Copy link
Copy Markdown
Contributor Author

aadorian commented Feb 4, 2021

@aadorian it looks like you resolved the comments but didn't push the fixes. Mind pushing those?

Shure I will close this and pr ...

@aadorian aadorian closed this Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants