[BUG] Failed to retrieve the stamp contract status from arweave.net. #419
This commit is contained in:
14
tools/wallet.js
Normal file
14
tools/wallet.js
Normal 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
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user