SmartBond
No description available
Install / Use
/learn @XBEfinance/SmartBondREADME
EURxb SmartBond Contracts
The system of Smart-Contracts for bonds digitization
Overview
Requirements
- nodeJS v10.15.0 or later
- npm 6.4.1 or later
- Truffle v5.1.48 (core: 5.1.48) or later
Installation
npm i- install all dependencies
Build contracts
npm run build- build all contracts
Run tests
npm run test- start all testsnpm run test +fast- start tests without rebuild contractsnpm run test test/<filename>.js- run tests for only one filenpm run test +fast test/<filename>.js- run tests for only one file without rebuild contracts
Run coverage
npm run coverage- to check the percentage of code covered by tests
Make Flattened contract file
npm run flatten- make Flattened.sol file with all contractsnpm run flatten contracts/<filename>.sol- make Flattened.sol file for same contract
Deploy contracts
- create
.secretfile in the project directory and push there seed phrase belonging to your Ethereum account - create
.envfile with next variables:
INFURA_ID=<your_infura_project_id>
ETHERSCAN_API_KEY=<your_etherscan_api_key>
DEPLOYER_ACCOUNT=<your_ethereum_account>
TEAM_ACCOUNT=<team_ethereum_account>
START_TIME=<unix_timestamp>
npm run deploy- deploy and configure all contracts in rinkeby testnetnpm run deploy <network>- deploy and configure all contracts for some network [NOT IMPLEMENTED]
Verify deployed contracts
npm run verify- verify all contracts in rinkeby testnetnpm run verify <contract>- verify only one contract in rinkeby testnetnpm run verify all <network>- verify all contracts in networknpm run verify <contract> <network>- verify only one contract in network
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
