Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dragonereum/dragonereum-contracts
Dragonereum smart contracts
https://github.com/dragonereum/dragonereum-contracts
dapp ethereum ethereum-contract ethereum-dapp smart-contracts solidity web3
Last synced: 28 days ago
JSON representation
Dragonereum smart contracts
- Host: GitHub
- URL: https://github.com/dragonereum/dragonereum-contracts
- Owner: dragonereum
- License: wtfpl
- Created: 2018-12-01T19:23:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T18:55:18.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T12:39:13.369Z (about 1 month ago)
- Topics: dapp, ethereum, ethereum-contract, ethereum-dapp, smart-contracts, solidity, web3
- Language: JavaScript
- Homepage: https://dapp.dragonereum.io/
- Size: 1.45 MB
- Stars: 20
- Watchers: 6
- Forks: 5
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## How to use with Truffle
### Installation
```bash
npm install @dragonereum/contracts
```### Usage example
```js
import contract from 'truffle-contract';import Getter from '@dragonereum/contracts/dist/Getter.json';
// or
import { Getter } from '@dragonereum/contracts';const getter = contract(Getter);
getter.setProvider(window.ethereum);
```## How to run tests
```bash
npm run test
```