https://github.com/ardriveapp/ardrive-process
The ArDrive token smart contract implementation for AO.
https://github.com/ardriveapp/ardrive-process
Last synced: about 1 year ago
JSON representation
The ArDrive token smart contract implementation for AO.
- Host: GitHub
- URL: https://github.com/ardriveapp/ardrive-process
- Owner: ardriveapp
- License: agpl-3.0
- Created: 2025-01-04T13:09:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-04T03:31:40.000Z (about 1 year ago)
- Last Synced: 2025-05-07T20:18:16.773Z (about 1 year ago)
- Language: Lua
- Size: 290 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# $ARDRIVE Process
Process State
```lua
Balances = {
[WALLET_ADDRESS] = 10000000000000,
}
Denomination = 6
TotalSupply = TotalSupply or 10000000000000
Name = Name or 'ArDrive'
Ticker = Ticker or 'ARDRIVE'
Logo = Logo or 'KKmRbIfrc7wiLcG0zvY1etlO0NBx1926dSCksxCIN3A'
```
Handlers
`info` - read handler to get general process info like Name, Ticker and Logo
`balance` - read handler to get balance of a user
`balances` - read handler to get all balances
`paginatedBalances` - read handler to get all balances
`totalSupply` - read handler to get all balances
`transfer` - transfer tokens
`mint` - create new tokens, only by process or owner
`burn` - burn existing tokens
## TODOs
- [X] Setup initial Lua process files and unit tests
- Create basic file structure
- Add initial test files
- Configure test runner
- [X] Setup initial test scaffolding
- Create test helpers and utilities
- Add integration test framework
- Setup mocking capabilities
- [ ] Setup GitHub for CD
- Configure deployment pipeline
- Add deployment environments
- Setup release automation
- [ ] Setup GitHub for CI
- Add GitHub Actions workflow
- Configure test runners
- Setup code quality checks
- Add coverage reporting
- [ ] Use latest module binary for tests
- Download latest stable release
- Configure test environment to use correct version
- Add version check to CI
- [ ] Ensure memory tags set to largest possible when spawning
- Research memory tag limits
- Implement memory optimization
- Add memory monitoring
- [ ] Create process ID with team wallet
- Setup secure wallet configuration
- Generate unique process IDs for dARDRIVE, tARDRIVE and ARDRIVE
- Link ID to team wallet