Implement Featured Addresses

Closes https://github.com/serai-dex/serai/issues/37.
This commit is contained in:
Luke Parker
2022-08-22 04:27:58 -04:00
parent 3fffea178f
commit 331aa6c644
6 changed files with 497 additions and 61 deletions

View File

@@ -19,7 +19,7 @@ pub async fn rpc() -> Rpc {
}
let addr = Address {
meta: AddressMeta { network: Network::Mainnet, kind: AddressType::Standard, guaranteed: false },
meta: AddressMeta { network: Network::Mainnet, kind: AddressType::Standard },
spend: &random_scalar(&mut OsRng) * &ED25519_BASEPOINT_TABLE,
view: &random_scalar(&mut OsRng) * &ED25519_BASEPOINT_TABLE,
}