Nothing Special   »   [go: up one dir, main page]

Skip to content

thefortube/fortube

Repository files navigation

ForTube 2.0

1 Install the dependencies.

npm install

2 Compile the contracts.

npx oz compile --solc-version=0.6.4 --optimizer on

3 Deploy the contracts

using the interactive command. (Recommended)

npx oz deploy

using the non-interactive Javscript script. (Not Recommended)

According to the doc, since the upgrade library is a semi-product, using the non-interactive Javscript script is not recommended.

node src/deploy.js

4 Initial the contracts.

node src/initial.js

5 Test the contracts.

npm test (without compiling)

or

oz compile && mocha --exit --recursive test

or specify the test file

npx mocha --exit test/Exponential.test.js

6 Upgrade the contracts.

using the interactive command. (Recommended)

npx oz upgrade

using the non-interactive Javscript script. (Nope)

According to this post, there seems no better way to do this than using CLI.

ETH contracts:

ETH Innovation Market

BANK_CONTROLLER:

BANK:

FETH:

FHBTC:

FWBTC:

FUSDT:

FUSDC:

FBUSD:

FHUSD:

FDAI:

FFOR:

FBNB:

FHT:

FOKB:

FYUSD:

FYWETH:

FQC:

FYFII:

FNEST:

FARPA:

FYFI:

FMKR:

FLINK:

FUNI:

FLRC:

FLEND:

FSNX:

FHBCH:

FHDOT:

FHFIL:

FAAVE:

FQUSD:

FBINANCE_BTC:

FBINANCE_DOT:

FOBTC:

ETH Main Market

BANK_CONTROLLER_V3_STABLE:

BANK_V3_STABLE:

SFETH:

SFWBTC:

SFHBTC:

SFUSDT:

SFUSDC:

SFDAI:

BSC contracts:

BSC Innovation Market

BANK_CONTROLLER:

BANK:

FUSDT:

FBUSD:

FDAI:

FETH:

FBNB:

FBTCB:

FBCH:

FLTC:

FXRP:

FDOT:

FLINK:

FONT:

FXTZ:

FEOS:

FFOR:

FYFII:

FZEC:

FCREAM:

FBAND:

FADA:

FATOM:

FFIL:

FQUSD:

FBETH:

FCAKE:

BSC Main Market

BANK_CONTROLLER_V3_STABLE:

BANK_V3_STABLE:

SFBTCB:

SFETH:

SFUSDT:

SFUSDC:

SFBUSD:

SFDAI:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published