[ARCHIVE] Developers
  • 📌Getting Started
  • Integrating with BarnBridge
  • Setting up your private testnet
  • Using our public testnet
  • Specs
    • DAO Specifications
    • SMART Yield Specifications
    • SMART Exposure Specifications
  • SMART Yield
    • Minting and Redeeming Junior Tranche tokens (ERC-20)
    • Minting and Redeeming Senior Tranche Tokens (ERC-721)
    • Originator Yield Oracle
    • Governance Token Harvesting
  • Resources
  • 📎Smart Contract Addresses
    • BarnBridge DAO
    • SMART Yield
    • SMART Alpha
    • Yield Farming
  • 📋GitHub Repos
  • 🔒Security Audits
  • 👥Discord Community
  • Unofficial Code Walkthrough - SMART Yield
  • Unofficial Code Walkthrough - SMART Exposure
  • Access Controls
Powered by GitBook
On this page

Was this helpful?

Setting up your private testnet

PreviousIntegrating with BarnBridgeNextUsing our public testnet

Last updated 4 years ago

Was this helpful?

To facilitate your integration with BarnBridge, please feel free to set up a private testnet by following the specific READ.ME instructions on our Github repositories. This will allow you to better understand and test our Smart Contracts.

For Smart Yield, you can find our originator contracts (for example, for Compound and Aave) on in our Github repository.

To provide guidance, we develop our smart contracts using the following technology stack:

  • Typescript and Node.js We recommend and installing the latest Node.js 12.x unless otherwise specified. Once you have your Node environment set up, getting started is typically as easy as running npm install

  • Hardhat - Ethereum Development Environment This allows you to quickly spin up a development environment to compile, deploy, test, and debug our Ethereum software. Please see on the Hardhat documentation for further details.

  • Configuration Please see the README instructions for configuration requirements. For example, SMART Yield smart contracts, you will need to rename config.sample.ts to config.ts.

  • Deployment Scripts and Public Testnet You can find our deployment scripts under scripts/ applicable to our smart contracts including public testnet (we use Kovan). For the application to connect to the Ethereum network, you may also need to and change the config.ts configuration accordingly. Read more on .

As always, please feel free to join the thread in our to get support from the core team developers and other community members.

/contracts/providers/
installing Node Version Manager (NVM)
Getting Started
set up an Infura account and API key
Using our public testnet
#developers
Discord Community Server