https://github.com/ross-weir/chain-name-service
https://github.com/ross-weir/chain-name-service
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ross-weir/chain-name-service
- Owner: ross-weir
- Created: 2023-05-10T10:43:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T06:12:55.000Z (over 2 years ago)
- Last Synced: 2025-06-26T07:41:29.278Z (5 months ago)
- Language: Scala
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ergo - Chain Name Service (Experimental)
README
## Notes
## TODO
- Fees for contract developer & ui developer when minting a Resolver
- Stable pricing using oracle USD price feed
- Scalability - only one name can be minted per tx (per block i think?)
## Maybe
- SubResolvers, to allow the owner of `myname.erg` to mint `pay.myname.erg`, etc
## Testing
TODO: setup test fixtures so all test cases use exactly the same tx as the success case except for the aspect under test
This is the current setup but copy+pasted for each test, use fixtures
### `NewRegistrar.es`
- [x] fail if RegistryAdmin data input is missing
- [x] fail if RegistryAdmin data input has incorrect nft
- [x] fail if registrar already exists
- [x] fail if registrars state in Registry isn't updated correctly (AVL digest mismatch)
- [ ] fail if successor box propBytes changed or nft changed
- [x] add new registrar to Registry
### `Resolver.es`
- [x] label preserved
- [x] tld preserved
- [x] nft preserved
- [x] script preserved