0.0.2 • Published 4 years ago

@fungifi/spore v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

FungiFi Spore

Core smart contracts of 🍄 FungiFi

Addresses

NetworkAddress
GörliNot yet deployed
KovanNot yet deployed
RinkebyNot yet deployed
MainnetNot yet deployed
RopstenNot yet deployed

Requirements

Setup

Clone the repo

$ git clone git@github.com:FungiFi/fungifi-spore.git
$ cd fungifi-spore

Install dependencies

$ npm install

Build the project

$ npm run build

Run unit tests

$ npm run test

Deploy

This project deploys the smart contracts to the Ethereum blockchain as well as publishing the NPM package whenever a release is cut from the repository in GitHub.

BranchNetworkNPM Package Version
developropsten< 0.0.0
mainmainnet>= 1.0.0

Test

Repository SecretDescription
ROPSTEN_NETWORK_URLThe URL of the network provider node.

To deploy and publish to test, create a release in GitHub off of the develop branch.

IMPORTANT: For test releases, mark it as a "pre-release" before publishing, otherwise the workflow will not execute.

Production

Repository SecretDescription
MAINNET_NETWORK_URLThe URL of the network provider node.

To deploy and publish to production, create a release in GitHub off of the main branch.

IMPORTANT: For production releases, DO NOT mark it as a "pre-release" before publishing, otherwise the workflow will not execute.

Configuration

Local Accounts

For local development, test accounts are generated and funded with 100 ETH from the Bip39 mnemonic:

trust wait champion hero treat flush tip glow maid wear view record

HD PathAddressDescription
m/44'/60'/0'/0/00x673834Dea22bDB68293c912277e5d35A2d24c33dThe spore owner
m/44'/60'/0'/0/10xECCe1BDE07baaa263855eC463D99eD198ca74b70NFT seller