Skip to content

Commit

Permalink
add tronbox/tre docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
llwslc committed Oct 21, 2022
1 parent 039efdf commit 36425f4
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__3.0.0-beta__
* bump tronweb from 4.0.1 to 4.3.0
* Add support for Solidity compiler 0.8.7 and 0.8.11
* Add `tronWrap.send` function to test environment for supporting test network
* Add `tronWrap.send` function to test environment for supporting [tronbox/tre](https://hub.docker.com/r/tronbox/tre) docker image.
* Add `tre_setAccountBalance` RPC method. The method can set the given account's balance to the specified SUN value.
* Add `tre_setAccountCode` RPC method. The method can set the given account's code to the specified value.
* Add `tre_setAccountStorageAt` RPC method. The method can set the given account's storage slot to the specified data.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To use TronBox, your dApp has to have a file `tronbox.js` in the source root. Th
module.exports = {
networks: {
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 30, // or consume_user_resource_percent
feeLimit: 100000000, // or fee_limit
Expand Down Expand Up @@ -68,7 +68,7 @@ Starting from TronBox 2.1.9, if you are connecting to the same host for full and
module.exports = {
networks: {
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 30,
feeLimit: 100000000,
Expand Down
8 changes: 4 additions & 4 deletions signature.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
},
{
"path": "build/components/Compile/index.js",
"sha512": "f23c92572f5237a009673819fe952e4ed370980859047a611d460d153c079b8aac0180b2a5dc68b70fc4ddde67a76ec1502af795c082bcf218eb894eb76ad451"
"sha512": "983f7246a5e7c78ee09d2ed90962f71ae2c52756bee9dc259bba08a5c52a7f26c8385fd33fb9f725f8b0d5b940f777a589763dbe5123dc966f20a6ac96ae5e19"
},
{
"path": "build/components/Contract/index.js",
Expand Down Expand Up @@ -362,11 +362,11 @@
},
{
"path": "CHANGELOG.md",
"sha512": "92dd83061cd07a36550d1ff541388f88b4393d9c3c8919b941d4ccb3215712e98c44be9ea10a986a2e6f24f6db99536fd19b657b37ca053367fff9923a556b09"
"sha512": "6d5259fe7113f4b7f02cfdb61f5057251a6edd90d296752f72d62c220af48a335697ff18a03ca8854de7253382597f67f01716ca93710895d0877c16ce0350db"
},
{
"path": "README.md",
"sha512": "79f87c6c329c704c8d863dba243ede9af3ffc9b7ef757ce01940c28a34623dbb381a849ef52fe600a620954a3c70a16e1dd048c40368c8fb9f15633d73ccefc6"
"sha512": "9410490fad42be0150cd7db445d9d4f35de3af3efc9aae2b0a68798495a5f7ee6e44630fd9dbc5ff3429d13060b82b020e05828cd977fa1d11d87087d1837cac"
}
]
}
Expand Down Expand Up @@ -529,5 +529,5 @@
}
}
],
"signature": "-----BEGIN PGP SIGNATURE-----\nVersion: OpenPGP.js v4.10.10\nComment: https://openpgpjs.org\n\nwsFzBAEBCAAGBQJjRAoTACEJEAEScGf7i0tYFiEEuL4l7hUU5AsLzHjPARJw\nZ/uLS1gSuA/+O31ElnUEFwfeFfs1bluXOY1eL1kIXDObiobY4quNjNZ1Umgb\ncDwSDqfbbBSTKWuOM2+ub9yg1ZBryr+subkLCAAuw3WSLccEvIH+XZy0BGQL\npHdr0iONb5/04NS1w+ImC8uq3S2cMw8uDG+9ERsOM//mmTj3ZP+YwsJCXTY1\nuThqogxMNaw/zvT1mvSKUGkaiXWbGIm2rlMfFN9FQWvGmJLe/BPYvVqx1246\nwfcN75ER19A3U+uxbWojGjRSaBpK0fEpDnGmgYvX+G/KGXH5OVPkBUAIm308\n+Vlmxqz9iFsl9rTsUm92qihI9ZZzQhrEQ2ajrR3V+Ro4K+e/1i3Kve6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Xn\nv4knm8dt2QuGSaUKCg4fkRvLJZsEfNsX3gbBNV0y4qMZYQhvzojsvumEzOP4\nF/qgb5trNlUZPj+5uKqceysO+D3qago4DskiLv1EWBhKLSSI5Y/hRjcGTm3+\n33aYdscUkN92cAI70zU7rKiiokCrhcUQ94c=\n=0osV\n-----END PGP SIGNATURE-----\n"
}
6 changes: 3 additions & 3 deletions test/fixtures/metacoin-box-0.4.0/tronbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ module.exports = {
/*
Create a .env file (it must be gitignored) containing something like
export PRIVATE_KEY_MAINNET=4E7FECCB71207B867C495B51A9758B104B1D4422088A87F4978BE64636656243
export PRIVATE_KEY_MAINNET=4E7FEC...656243
Then, run the migration with:
source .env && tronbox migrate --network mainnet
*/
*/
userFeePercentage: 100,
feeLimit: 1e8,
fullHost: 'https://api.trongrid.io',
Expand All @@ -28,7 +28,7 @@ Then, run the migration with:
network_id: '2'
},
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 0,
feeLimit: 1e8,
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/metacoin-box-0.5.0/tronbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ module.exports = {
/*
Create a .env file (it must be gitignored) containing something like
export PRIVATE_KEY_MAINNET=4E7FECCB71207B867C495B51A9758B104B1D4422088A87F4978BE64636656243
export PRIVATE_KEY_MAINNET=4E7FEC...656243
Then, run the migration with:
source .env && tronbox migrate --network mainnet
*/
*/
userFeePercentage: 100,
feeLimit: 1e8,
fullHost: 'https://api.trongrid.io',
Expand All @@ -28,7 +28,7 @@ Then, run the migration with:
network_id: '2'
},
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 0,
feeLimit: 1e8,
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/metacoin-box-0.6.0/tronbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ module.exports = {
/*
Create a .env file (it must be gitignored) containing something like
export PRIVATE_KEY_MAINNET=4E7FECCB71207B867C495B51A9758B104B1D4422088A87F4978BE64636656243
export PRIVATE_KEY_MAINNET=4E7FEC...656243
Then, run the migration with:
source .env && tronbox migrate --network mainnet
*/
*/
userFeePercentage: 100,
feeLimit: 1e8,
fullHost: 'https://api.trongrid.io',
Expand All @@ -28,7 +28,7 @@ Then, run the migration with:
network_id: '2'
},
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 0,
feeLimit: 1e8,
Expand Down
4 changes: 2 additions & 2 deletions test/tre/tronbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
/*
Create a .env file (it must be gitignored) containing something like
export PRIVATE_KEY_MAINNET=4E7FECCB71207B867C495B51A9758B104B1D4422088A87F4978BE64636656243
export PRIVATE_KEY_MAINNET=4E7FEC...656243
Then, run the migration with:
Expand All @@ -28,7 +28,7 @@ Then, run the migration with:
network_id: '2'
},
development: {
// For trontools/quickstart docker image
// For tronbox/tre docker image
privateKey: 'da146374a75310b9666e834ee4ad0866d6f4035967bfc76217c5a495fff9f0d0',
userFeePercentage: 0,
feeLimit: 1e8,
Expand Down

0 comments on commit 36425f4

Please sign in to comment.