Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/critesjosh/celo-transactions-lesson
a repo to help better understand Celo transaction structure and tools to send transactions
https://github.com/critesjosh/celo-transactions-lesson
Last synced: 2 months ago
JSON representation
a repo to help better understand Celo transaction structure and tools to send transactions
- Host: GitHub
- URL: https://github.com/critesjosh/celo-transactions-lesson
- Owner: critesjosh
- Created: 2021-04-15T14:27:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T13:49:30.000Z (over 2 years ago)
- Last Synced: 2024-04-12T21:16:27.622Z (9 months ago)
- Language: JavaScript
- Size: 2.03 MB
- Stars: 10
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Celo Transactions
A repo to help better understand Celo transaction structure and tools to send transactions
## Workshop
Recording:
[![](http://img.youtube.com/vi/rwq14V9e2hU/0.jpg)](http://www.youtube.com/watch?v=rwq14V9e2hU)
## Requirements
- familiarity with Javascript and basic web development
- have `yarn` installed## Get started
1. Run `yarn install` in the project root.
2. Run `node createAccount.js`. This will print new Celo account details. Copy the private key for your new account into the `PRIVATE_KEY` variable in `.env`.
3. Fund the account address on the Alfajores testnet here: https://celo.org/developers/faucet
4. Go through `lesson.js`, following the provided details and uncommenting the function calls to run the associated code.## Basic Celo browser extension (Metamask fork) example
### Requirements
- [Celo extension wallet](https://chrome.google.com/webstore/detail/celoextensionwallet/kkilomkmpmkbdnfelcpgckmpcaemjcdh)
- `cd` into the `webpage` directory.
- Run `yarn install` to install the dependencies. The simple webpage uses [broswerify](http://browserify.org/) to bundle contractkit into a javascript file usable by the browser. It also uses [watchify](https://www.npmjs.com/package/watchify) to watch `index.js` and `index.html` for changes, and will automatically re-bundle everything for you when a change is detected.
- Run `yarn dev` to start the [lite server](https://www.npmjs.com/package/lite-server) and watchify to serve the page at localhost:3000