Comments (7)
I just published v0.8.0 which should resolve the Cannot provide restoreHeight when creating random wallet
error.
Is your NodeJS 17+? It's not officially supported past the latest v16, but it should be possible to run by applying e.g. node --no-experimental-fetch index.js
.
from monero-ts.
The full wallet depends directly on an instance of monerod, so shouldn't be connected to monero-wallet-rpc.
from monero-ts.
I got the same error connecting to a public node and when I try to create an offline wallet too
from monero-ts.
It's working for me with this code and endpoint. Can you try the same configuration?
// create in-memory wallet with mnemonic
let walletFull = await monerojs.createWalletFull({
password: "abctesting123",
networkType: "testnet",
serverUri: "http://testnet.community.rino.io:28081",
seed: "silk mocked cucumber lettuce hope adrenalin aching lush roles fuel revamp baptism wrist long tender teardrop midst pastry pigment equip frying inbound pinched ravine frying",
restoreHeight: 2290000,
proxyToWorker: true,
rejectUnauthorized: false
});
await walletFull.sync();
console.log("Full wallet daemon height: " + await walletFull.getDaemonHeight());
from monero-ts.
I tried to use monerod
instead of monero-wallet-rpc
for wallet creation and I get the same error. I just tried your code, I get the same error.
from monero-ts.
It's working for me with this code and endpoint. Can you try the same configuration?
// create in-memory wallet with mnemonic let walletFull = await monerojs.createWalletFull({ password: "abctesting123", networkType: "testnet", serverUri: "http://testnet.community.rino.io:28081", seed: "silk mocked cucumber lettuce hope adrenalin aching lush roles fuel revamp baptism wrist long tender teardrop midst pastry pigment equip frying inbound pinched ravine frying", restoreHeight: 2290000, proxyToWorker: true, rejectUnauthorized: false }); await walletFull.sync(); console.log("Full wallet daemon height: " + await walletFull.getDaemonHeight());
Same error. Also I had to deleted seed field because of this error :
Error: MoneroError: Wallet config includes unsupported field: 'seed'
and restoreHeight field because of this error :
Error: MoneroError: Cannot provide restoreHeight when creating random wallet
from monero-ts.
I just published v0.8.0 which should resolve the
Cannot provide restoreHeight when creating random wallet
error.Is your NodeJS 17+? It's not officially supported past the latest v16, but it should be possible to run by applying e.g.
node --no-experimental-fetch index.js
.
It's v18, when I downgraded to v16, it works ty
from monero-ts.
Related Issues (20)
- TypeDocs missing nested sub-properties
- cannot use it with yarn 2+ due to @babel/runtime dependency HOT 1
- Transaction hash of signed transaction hex HOT 2
- npm package version outdated HOT 2
- Browser wallet fails to connect to remote daemon. HOT 7
- Addressing Moderate Security Vulnerabilities in Dependencies HOT 1
- node: bad option: --experimental-wasm-threads HOT 2
- Path not found for MoneroWebWorker.js HOT 4
- Type-docs page is missing entirely HOT 2
- Can't use openWalletFull together with a ConnectionManager HOT 4
- Errors swallowed in onOutputReceived and addListener HOT 1
- rpc calls create unresolved timeouts/promises until HttpClient.DEFAULT_TIMEOUT as such jest tests warning HOT 4
- unable to run multiple MoneroUtils.getIntegratedAddress in parallel HOT 1
- Broken links in documentation HOT 1
- getBalances doc is not correct HOT 2
- Can't open wallet by keys HOT 3
- Failed to parse URL HOT 17
- Monero-ts in NextJS dev server leads to hangup HOT 9
- MoneroWalletKeys.createSubaddress() not supported HOT 1
- Bounty system test [0.1 XMR] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monero-ts.