OpenZeppelin SDK reference repository to showcase Superblocks functionality on how to build and deploy your Ethereum contract projects.
This is a sample project with a single contract for getting started with the OpenZeppelin SDK. Head over to their documentation to learn more about Open Zeppelin SDK.
- Fully automate your build proccess using Superblocks CI and the Open Zeppelin framework
- Automate, track, sing and deploy your transactions using Superblocks and OZ deploy
Below is described how to get the an OpenZeppelin project setup and running locally.
- Install dependencies with
npm install
- Start a ganache instance with
npx ganache-cli -p 8545 -d
- Create a new
Counter
contract instance withnpx openzeppelin deploy Counter --network development --kind regular --no-interactive
TDB - Missing how to setup a project using Superblocks and OpenZeppelin
Env variables to setup for the initial config: TOKEN -> A generated project token in the Superblocks platform. PROJECT_ID -> The deployment space id into which you want to track your deployment with.
In order to get this values setup, follow the this instructions:
- Login into Superblocks using your Github user.
- If you haven't created an organization/project, create one.
- Once your project is created, head to the project settings
- You will find the project id under the General section
- Login into Superblocks using your Github user.
- If you haven't created an organization/project, create one.
- Once your project is created, head to the project settings
- Go to the section
Tokens
, give your token a fancy name and click inGenerate
. Copy the generated key. - Finally set "TOKEN" env variable for that project with project id obtained on step 5.
npx openzeppelin deploy Counter --network development --kind regular --no-interactive