Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezzecup/runestone-test
Test Runestone using TS/JS, Etch, Mint implementation
https://github.com/rezzecup/runestone-test
Last synced: about 1 month ago
JSON representation
Test Runestone using TS/JS, Etch, Mint implementation
- Host: GitHub
- URL: https://github.com/rezzecup/runestone-test
- Owner: Rezzecup
- License: mit
- Created: 2024-01-22T18:10:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-29T07:25:56.000Z (8 months ago)
- Last Synced: 2024-05-28T12:53:44.720Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 74.2 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @chain-wave/runestone-test
[![npm version][npm-version-src]][npm-version-href]
[![License][license-src]][license-href]Runestone implement in typescript.
## Usage
```
const runestone = new Runestone(
{
etching: {
divisibility: MAX_DIVISIBILITY,
terms: {
cap: 4294967295n,
amount: 18446744073709551615n,
height: [4294967295, 4294967295],
offset: [4294967295, 4294967295],
},
premine: 18446744073709551615n,
rune: new Rune(0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFn),
symbol: 'h',
spacers: MAX_SPACERS,
},
},
)
const script = runestone.encipher()
```
## Develop```
pnpm i
pnpm build```
[npm-version-src]: https://img.shields.io/npm/v/@utxone/runestone?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/@utxone/runestone
[license-src]: https://img.shields.io/github/license/utxone/runestone.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/utxone/runestone/blob/main/LICENSE