avalanchego
avalanchego copied to clipboard
How do i create an X-chain wallet address with its correspond private key
I am working on creating an X-Chain address in a Node.js environment, specifically with Avalanche's X-Chain. The official documentation outlines how to do this using AvalancheGo APIs, but it doesn't provide a clear example of how to achieve this in a Node.js application using available libraries like @avalabs/avalanchejs.
And also i also notice that avm.createAddress is depreciated, so how do we programatically create a wallet address of X-chain