https://github.com/lastmjs/extendable-token-typescript
https://github.com/lastmjs/extendable-token-typescript
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lastmjs/extendable-token-typescript
- Owner: lastmjs
- License: mit
- Created: 2021-10-27T16:13:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-10T05:47:52.000Z (over 3 years ago)
- Last Synced: 2025-03-23T22:36:59.204Z (3 months ago)
- Language: TypeScript
- Size: 115 KB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extendable-token-typescript
## Installation
Install the following:
* [Node.js](https://github.com/nvm-sh/nvm)
* [Rust](https://www.rust-lang.org/tools/install)
* [dfx](https://sdk.dfinity.org/docs/quickstart/local-quickstart.html#download-and-install)Run the following terminal commands:
```bash
git clone https://github.com/lastmjs/extendable-token-typescript
cd extendable-token-typescript
npm install
```## Development deployment
Run the following terminal commands:
```bash
dfx start --background
dfx deploy
```Open `http://r7inp-6aaaa-aaaaa-aaabq-cai.localhost:8000` in a web browser. Enter `ryjl3-tyaaa-aaaaa-aaaba-cai` as the canister id in the web interface, and upload `extendable-token-typescript/canisters/jsonic/jsonic.did` as the did file.
You can then use the web interface to call the methods on the JSONIC canister.
## Production deployment
If you want to deploy your own canisters to the IC then make sure to delete `extendable-token-typescript/canister_ids.json`.
Run the following terminal commands:
```bash
dfx deploy --network ic
```