Skip to content

Instantly share code, notes, and snippets.

@timothyylim
Last active January 12, 2019 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyylim/82153b15950257db30fd9e0d20eba862 to your computer and use it in GitHub Desktop.
Save timothyylim/82153b15950257db30fd9e0d20eba862 to your computer and use it in GitHub Desktop.

Small tasks to do to understand how the crypto backend works.

  1. Set up developer account on blockcypher
  2. Download crypto-server repo and install all modules https://github.com/timothyylim/crypto-server
  3. rename .env-sample to .env and add your own developer token from blockcypher

Try the following

  1. Create a wallet (read and understand setup.js, run setup.js by node setup.js)
  2. Derive an address
  3. Get the balance of the addresses
  4. Top up the address with testnet coins
  5. Send testnet coins between the addresses

I've made functions for all these tasks just make sure you understand how to run them. I recommend testing them in index.js and printing the result to make sure they work. Ignore the server for now.

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