A repo to help better understand Celo transaction structure and tools to send transactions
Recording:
- familiarity with Javascript and basic web development
- have
yarn
installed
- Run
yarn install
in the project root. - Run
node createAccount.js
. This will print new Celo account details. Copy the private key for your new account into thePRIVATE_KEY
variable in.env
. - Fund the account address on the Alfajores testnet here: https://celo.org/developers/faucet
- Go through
lesson.js
, following the provided details and uncommenting the function calls to run the associated code.
- Celo extension wallet
cd
into thewebpage
directory.- Run
yarn install
to install the dependencies. The simple webpage uses broswerify to bundle contractkit into a javascript file usable by the browser. It also uses watchify to watchindex.js
andindex.html
for changes, and will automatically re-bundle everything for you when a change is detected. - Run
yarn dev
to start the lite server and watchify to serve the page at localhost:3000