You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
$ node erc20.js
Connecting to your local Solana node ...
Airdropping SOL to a new wallet ...
Deploying the Solang-compiled ERC20 program ...
Program deployment finished, deploying the ERC20 contract ...
Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1
Program 11111111111111111111111111111111 invoke [1]
Transfer: insufficient lamports 33450880, need 228956160
Program 11111111111111111111111111111111 failed: custom program error: 0x1
(node:83032) UnhandledPromiseRejectionWarning: Error: custom program error: 0x1
at parseTransactionError (/home/sum/DEV/SOLANA/solana-solidity.js/project/node_modules/@solana/solidity/lib/logs.js:161:31)
at /home/sum/DEV/SOLANA/solana-solidity.js/project/node_modules/@solana/solidity/lib/logs.js:123:27
at Generator.throw (<anonymous>)
at rejected (/home/sum/DEV/SOLANA/solana-solidity.js/project/node_modules/@solana/solidity/lib/logs.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:83032) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:83032) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
Did the instruction as described in the README (just added
yarn init
andtouch yarn.lock
)OS : Arch Linux / Manjaro
package.json
The text was updated successfully, but these errors were encountered: