This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
forked from dekz/0x-cfl
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
34 lines (34 loc) · 1.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "0x-api-starter-guide-code",
"version": "0.1.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"postinstall": "truffle compile",
"start-fork": "ganache-cli -m \"${npm_package_config_mnemonic}\" -f ${RPC_URL} -i 1 -p 7545",
"print-hd-wallet-accounts": "MNEMONIC=\"${npm_package_config_mnemonic}\" node src/print-hd-wallet-accounts.js",
"compile": "truffle compile",
"deploy-live": "MNEMONIC=\"${npm_package_config_mnemonic}\" truffle migrate -f 2",
"deploy-fork": "truffle migrate -f 2 --network forked-mainnet",
"swap-live": "MNEMONIC=\"${npm_package_config_mnemonic}\" node src/direct-swap.js",
"swap-fork": "MNEMONIC=\"${npm_package_config_mnemonic}\" RPC_URL=http://localhost:7545 FORKED=1 node src/direct-swap.js",
"swap-contract-live": "MNEMONIC=\"${npm_package_config_mnemonic}\" node src/swap-contract.js",
"swap-contract-fork": "MNEMONIC=\"${npm_package_config_mnemonic}\" RPC_URL=http://localhost:7545 FORKED=1 node src/swap-contract.js \"${npm_package_config_forked_deployed_address}\""
},
"config": {
"mnemonic": "walnut mutual phone police nut tribe cross coast donate early urban target",
"forked_deployed_address": "0x7382949f535C1bb4D64059b934d4A63A11D3DAa2"
},
"dependencies": {
"@truffle/hdwallet-provider": "^1.1.0",
"bignumber.js": "^9.0.1",
"colors": "^1.4.0",
"node-fetch": "^2.6.1",
"web3": "^1.3.0",
"yargs": "^16.0.3"
},
"devDependencies": {
"ganache-cli": "^6.12.0",
"truffle": "^5.1.48"
}
}