Developer Quick Guide
Here’s a quick guide to get you from zero to hero. This doc provides a guide to the following ideas:
Greenfield & Programmability concepts
Understand what you need to build your project
Access resources to get you started
Greenfield & Programmability Concepts
Greenfield 101
Read Greenfield Overview here
Uniform Address Format
Greenfield defines its account in the same format as BSC and Ethereum. It starts with ECDSA secp256k1 curve for keys and is compliant with EIP84 for full BIP44 paths.
Account Operation
Create a greenfield account, deposit BNB, and program token transfers.
Data storage
Create a public bucket to upload and share objects.
Permission control
Create a private bucket and share it with specific individuals.
Enhanced permission control
Create a group, add members, and share the private bucket.
Resource management with smart contracts: Understand the concepts of resource mirroring
A Quick Start about Data Access Control Through Smart Contract
- Understand the programmability concepts
- Follow Smart Contract SDK tutorial
Show Case: Data Marketplace
Developer Starter Kit
SDK
- Greenfield Go SDK, more details refer to Go SDK Docs.
- Greenfield Javascript SDK, more details refer to JS SDK Docs.
Examples
- https://docs.bnbchain.org/greenfield-docs/docs/sdks/sdk-go
- https://docs.bnbchain.org/greenfield-docs/docs/sdks/sdk-js
- https://github.com/bnb-chain/greenfield-python-sdk/tree/main/examples
Setup
- Key managemen
- Transfer between greenfield address
- Token bridge
What to build
Follow the decision-making guide below, to see which resource is recommended for your use case:
Wishlist
- https://github.com/bnb-chain/community-contributions/blob/main/bnb-greenfield-wishlist-corechain.md
- https://github.com/bnb-chain/community-contributions/blob/main/bnb-greenfield-wishlist-dapp.md
Developer Resource
Explore datasets with explorer or dcellar.io
Data Marketplace boilerplate