@evrynetlabs/warp-contract
v2.0.2
Published
smart contracts using in the Warp protocol
Downloads
3
Readme
Warp Protocol Contract
A set of contracts using in the Warp protocol to lock and unlock asset including
- Evrynet Original Credit
- Stellar Original Credit
- Evrynet native asset
Usage
Warp agents
- Deploy the custodian contracts while specifying a provider address of your choice
- Add the asset to whitelist according to its type
- Stellar Original Credit: asset that is created on Evrynet only for representing a credit on the Stellar
- Evrynet Original Credit: other credits that is created in Evrynet
- Evrynet native asset
- Use the contract addresses to start a warp server (see
github.com/Evrynetlabs/warp
for more details)
Warp users
- Allow the custodian contracts to operate your Evrynet account by calling
setApprovalForAll
function of the credit contract (seegithub.com/Evrynetlabs/credit-contract
for more details)
Installing / Getting started
$ npm install @evrynetlabs/warp-contract
Developing
Build With
Prerequisites
Setting up Dev
$ npm install -g truffle
$ npm install -g [email protected]
$ yarn install
Building
$ yarn run build
Versioning
We use a SemVer for versioning. Please see the release.
Test
$ yarn run test
Style guide
We use the following command to maintain the formatting and linting.
yarn run solhint
yarn run prettier:solidity
Licensing
ERC20 Adapter is licensed under the Open Software License ("OSL") v. 3.0, also included in our repository in the LICENSE file.