Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jogiter/web3.js-examples
https://github.com/jogiter/web3.js-examples
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jogiter/web3.js-examples
- Owner: Jogiter
- Created: 2023-08-30T11:15:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-31T09:00:24.000Z (over 1 year ago)
- Last Synced: 2024-11-07T18:22:45.114Z (2 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# web3.js official demos
[https://docs.web3js.org/](https://docs.web3js.org/)
## project init
```sh
# init typescript
npx tsc --init# install ts-node globally
# https://stackoverflow.com/questions/62096269/cant-run-my-node-js-typescript-project-typeerror-err-unknown-file-extension
# https://bobbyhadz.com/blog/typescript-unknown-file-extension-error
npm install ts-node --global# execute .ts file
ts-node ./examples/provider.ts
```## install web3.js
Install web3.js using npm:
```sh
npm install [email protected]
```