Skip to content

Instantly share code, notes, and snippets.

@rony4d
Created November 3, 2020 10:57
Show Gist options
  • Select an option

  • Save rony4d/cc46064121b5fbee7ca497365cc9d1bd to your computer and use it in GitHub Desktop.

Select an option

Save rony4d/cc46064121b5fbee7ca497365cc9d1bd to your computer and use it in GitHub Desktop.
Creates a wallet on Binance Smart Chain
// Web3 doc: https://web3js.readthedocs.io/en/v1.2.11/web3-eth-accounts.html#create
const Web3 = require('web3');
const web3 = new Web3("https://data-seed-prebsc-1-s1.binance.org:8545");
var account = web3.eth.accounts.create([Date.now().toString()]);
console.log(account);
@geniuswebapp
Copy link

hi , how to get password from this transaction, or request function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment