Questions tagged [tronbox]

Tron-Box is a fork from Truffle and it is a development environment, testing framework and asset pipeline for Tron blockchain

5 questions
2
votes
2 answers

Compile of openzeppelin ERC721 with tron and tronbox failing

I am hoping someone can help with this. I have been trying to learn smart contracts on Tron with Solidity and tronbox, but I am running into issues when trying to create an ERC721 token. I have created very simple ERC20.sol contracts using the…
Dale Rodel
  • 21
  • 4
2
votes
0 answers

"PayloadTooLargeError: request entity too large" when run "tronbox test"

I am trying to run my unit tests with tronbox test command, but received this error: Deploying contracts to development network... ERROR: Request failed with status code 413 In the Tron Quickstart console: How can I fix this issue? Thanks!
Dmytro Zarezenko
  • 10,526
  • 11
  • 62
  • 104
0
votes
1 answer

How to add null in text input if user does not enter any address

function deposit(address payable referrer) public payable whenNotPaused { } In my case I need insert address, otherway I will get: "{"reason":"invalid…
dkr1985
  • 23
  • 2
0
votes
1 answer

TronBox compile issue

I've installed the latest tronbox (2.7.5) using npm Created a new project using command tronbox init In file tronbox.js I've updated the compiler version to 0.4.25 (see the file below). When compiling using the command tronbox compile --compile-all…
forhas
  • 11,551
  • 21
  • 77
  • 111
0
votes
1 answer

Tronbox unbox and tronbox init commands are giving following error:-bash post-unpack.sh && rm post-unpack.sh && npm install

tronbox unbox metacoin Downloading... Unpacking... Setting up... Error: Command failed: bash post-unpack.sh && rm post-unpack.sh && npm install 'bash' is not recognized as an internal or external command, operable program or batch file. at…
Monika
  • 1
  • 1