@bitxenia/astrawiki-eth
v0.0.6
Published
Bitxenia wiki implementation on Ethereum
Keywords
Readme
Astrawiki Ethereum Implementation
This is the Ethereum implementation of the Astrawiki.
Development
The Solidity contracts are in the contracts directory and require a wallet private key to deploy them as well as an Infura API key to deploy to the Testnet (both go as environment variables in .env). If the local Hardhat node is used then the Infura API key is not needed.
- Start a local Hardhat node
npm run hardhat- Compile the contracts
npm run compile-contracts- Deploy the contracts
npm run deploy-contractsThis creates the ABIs and saves the deployed contract address in the out directory inside contracts to then be used by the application.
License
MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
