Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

206
Views
Cómo ejecutar rinkeby test ethereum deployment

Compilé deployment.js para implementar la red de prueba rinbkeby. Pero cuando ejecuto el node deploy.js funcionó. Aquí mi código:

 const HDWalletProvider = require('truffle-hdwallet-provider') const Web3 = require('web3') const {interface, bytecode} = require('./compile') const provider = new HDWalletProvider( 'xxxxx xxxxx xxxxx xxxxx xx xxxxxx ...', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ) const web3 = new Web3(provider) const deploy = async () =>{ console.log("geldm"); const accounts = await web3.eth.getAccounts() console.log(accounts); const result = await new web3.eth.Contract(JSON.parse(interface)) .deploy({data: bytecode, arguments: ['Hi there!']}) .send({gas: '1000000', from: accounts[0]}) console.log('Contract deployed to', result.options.address) } deploy()

Cuando ejecuto el comando me sale esto:

geldm (nodo:6184) V8: C:\Users\Feruz\Desktop\ethereum\inbox\node_modules\solc\soljson.js:3 Invalid asm.js: Miembro no válido de stdlib (Use node --trace-warnings ... para mostrar dónde se creó la advertencia)

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!