Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EVM] Subnet precompile - smart contract example #1068

Open
gztensor opened this issue Dec 5, 2024 · 0 comments
Open

[EVM] Subnet precompile - smart contract example #1068

gztensor opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@gztensor
Copy link
Contributor

gztensor commented Dec 5, 2024

Implement an example smart contract with JavaScript code to deploy and call it on a local net that will:

  • Create a subnet
  • Set some hyperparameters
  • Wait for subnet epoch and show that owner address received subnet owner cut

Implement in this repository: https://github.com/opentensor/evm-bittensor/
Place js code in /examples/subnets.js
Place sol code in /solidity/subnets.sol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants