@truffle/hdwallet-provider
to create a provider and then use that provider to instatiante Rsk3
. As Ilan mentioned in a prior thread.@rsksmart/rns
to the latest version (1.8.1)Cannot find module 'scrypt-shim'
problem.Hi @tinyyxx
Finally I could reproduce your error with the rnsTest
repo.
It seems it is an rsk3
error, you can simply check it with this examples:
This code DOES NOT work:
const Rsk3 = require('@rsksmart/rsk3')
console.log('Hello World!')
This code works:
const RNS = require('@rsksmart/rns')
console.log('Hello World!')
Anyway, I managed to fix it by increasing the node version, please try to use 10.15.1
or greater. I did it and worked
"@rsksmart/rns": "^1.7.4"
to register a subdomain. But recenetly after registering a subdomain, I check it with this.rns.addr('chris11x.wallet.rsk')
, I got this error "No addr resolution set"
. I figure out that @rsksmart/rns it will help me interact with smart contract three times to actually register a subdomain, but I keep failing at second contract call now. Can you please check it out , thanks.
'Error: Unknown Error: {"jsonrpc":"2.0","id":6182193552024383,"error":{"code":-32010,"message":"transaction nonce too low"}}\n\n at Request._callback (/app/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js:57:23)\n at Request.self.callback (/app/node_modules/request/request.js:185:22)\n at Request.emit (events.js:182:13)\n at Request.EventEmitter.emit (domain.js:442:20)\n at Request.<anonymous> (/app/node_modules/request/request.js:1154:10)\n at Request.emit (events.js:182:13)\n at Request.EventEmitter.emit (domain.js:442:20)\n at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1076:12)\n at scope.activate (/app/node_modules/dd-trace/packages/dd-trace/src/scope/base.js:54:19)\n at Scope._activate (/app/node_modules/dd-trace/packages/dd-trace/src/scope/async_hooks.js:51:14)' }
Advanced
mode is selected, click on the Reclaim Domain
, sign the tx and then address B will become the controller of your domain
@KolodziejczakJa_twitter thanks for reaching out!
which rwallet version are you using?
Wersion 1.3.0 and try to send to domain: "openart.rsk"
Hey @KolodziejczakJa_twitter ! The domain seems to have a correct setup https://manager.rns.rifos.org/resolve?name=openart.rsk
ok I add issue in their repo rsksmart/rwallet#546
rns.addr('openart.rsk')
to query 'openart.rsk' with @rsksmart/rns: 1.7.4
, and it returned this error, I don't figure it out...Error: No addr resolution
at D:\forgeLabs\rwallet-server\node_modules\@rsksmart\rns\lib\resolutions.js:71:15
at Generator.next (<anonymous>)
at asyncGeneratorStep (D:\forgeLabs\rwallet-server\node_modules\@rsksmart\rns\lib\resolutions.js:26:103)
at _next (D:\forgeLabs\rwallet-server\node_modules\@rsksmart\rns\lib\resolutions.js:28:194)
at process._tickCallback (internal/process/next_tick.js:68:7)
The given domain has a resolver, but it does not support addr interface
, how can I solve this? Thanks.