Skip to content

bitxenia/astrawiki-eth

Repository files navigation

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.

  1. Start a local Hardhat node
npm run hardhat
  1. Compile the contracts
npm run compile-contracts
  1. Deploy the contracts
npm run deploy-contracts

This 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)

About

Astrawiki implementation on Ethereum

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •