[BUG] Failed to retrieve the stamp contract status from arweave.net. #419

This commit is contained in:
ppedziwiatr
2023-05-31 14:51:52 +02:00
committed by just_ppe
parent c1c8824ca6
commit f1cda738d6
5 changed files with 97 additions and 10 deletions

14
tools/wallet.js Normal file
View File

@@ -0,0 +1,14 @@
const Arweave = require("arweave");
const arweave = Arweave.init({
host: "arweave.net",
port: 443,
protocol: "https",
});
const wallet = arweave.wallets.generate()
.then(w => {
arweave.wallets.jwkToAddress(w).then((address) => {
console.log(address);
//1seRanklLU_1VTGkEk7P0xAwMJfA7owA1JHW5KyZKlY
});
});