Contracts
Decentraland contract interfaces to use from Javascript.
Use
The idea is to define here your own Contract
s and work with them using eth
to be imported elsewhere. A typical case is described below:
MANAToken.js
Contract static { return '0xdeadbeef' } static { return abi } async { return await this }
On the start of your app, maybe server.js
eth const manaToken = ethmanaToken // or maybe const manaToken = /*address*/ /*abi*/ethmanaToken
Contracts Addresses
Check here
Scripts
lint
Lint js files with eslint
docs
Builds an static page with the JSDoc documentation
test
Run tests using mocha and chai